package com.ruoyi.biz.service;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 查重结果对象 biz_similarity_result
 * 
 * @author ruoyi
 * @date 2025-02-26
 */
public class BizSimilarityResult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Excel(name = "主键")
    private Long id;

    /** 被查重的作业提交id */
    @Excel(name = "被查重的作业提交id")
    private Long originSubmitId;

    /** 被对比的作业提交id */
    @Excel(name = "被对比的作业提交id")
    private Long compareSubmitId;

    /** 相似度百分比 */
    @Excel(name = "相似度百分比")
    private BigDecimal similarityScore;

    /** 相似段落 */
    @Excel(name = "相似段落")
    private String detailResult;

    /** 逻辑删除 */
    private Integer isDelete;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOriginSubmitId(Long originSubmitId) 
    {
        this.originSubmitId = originSubmitId;
    }

    public Long getOriginSubmitId() 
    {
        return originSubmitId;
    }
    public void setCompareSubmitId(Long compareSubmitId) 
    {
        this.compareSubmitId = compareSubmitId;
    }

    public Long getCompareSubmitId() 
    {
        return compareSubmitId;
    }
    public void setSimilarityScore(BigDecimal similarityScore) 
    {
        this.similarityScore = similarityScore;
    }

    public BigDecimal getSimilarityScore() 
    {
        return similarityScore;
    }
    public void setDetailResult(String detailResult) 
    {
        this.detailResult = detailResult;
    }

    public String getDetailResult() 
    {
        return detailResult;
    }
    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("originSubmitId", getOriginSubmitId())
            .append("compareSubmitId", getCompareSubmitId())
            .append("similarityScore", getSimilarityScore())
            .append("detailResult", getDetailResult())
            .append("isDelete", getIsDelete())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
